/*
** my_str_islower.c for Jour_06 in /u/all/noret_a/rendu/piscine/Jour_06
**
** Made by christophe noret
** Login   <noret_a@epitech.net>
**
** Started on  Mon Oct  8 17:41:24 2012 christophe noret
** Last update Wed Oct 10 15:12:09 2012 christophe noret
*/

int	my_str_islower(char *str)
{
  int	i;
  int	len;

  i = 0;
  len = my_strlen(str);
  if (len == 0)
    return (1);
  while (str[i])
    {
      if (str[i] < 'a' || str[i] > 'z')
	return (0);
      i++;
    }
  return (1);
}
